<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Controllers extends CI_Controller {

    public function __construct(){
        parent::__construct();
        
        $this->load->view('header', array('controller' => 'controllers'));
    }
    
    public function index(){
        $this->load->model('Controller');
        $data['controllers'] = $this->Controller->getList();
        $this->load->view('controllers/index', $data);
    }
}